package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 学生表
 * </p>
 *
 * @author FSD
 * @since 2024-02-05
 */
@Getter
@Setter
@TableName("tb_student")
@ApiModel(value = "Student对象", description = "学生表")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("学生 id 主键 自增")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学生姓名")
    private String name;

    @ApiModelProperty("学号,在此处作为学生账号使用")
    private String cardNumber;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("班级id")
    private Integer clazzId;

    @ApiModelProperty("班级名字")
    private String className;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("入学年")
    private String year;

    @ApiModelProperty("课程id")
    private Integer courseId;

    @ApiModelProperty("用户名，在此处作为学生账号名字使用")
    private String username;

    @ApiModelProperty("密码")
    private String password;


}
